﻿using PeiYue.IServices.BASE;
using PeiYue.Model.Models.Tms;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using PeiYue.Model.Dto.Tms;
using PeiYue.Model;

namespace PeiYue.IServices.Tms
{
    public interface IVehicleServices : IBaseServices<VehicleDao>
    {
        /// <summary>
        /// 获取车辆分页列表
        /// </summary>
        /// <param name="requestDto"></param>
        /// <returns></returns>
        Task<PageModel<SearchVehicleResponseDto>> GetPage(SearchVehicleRequestDto requestDto);
        /// <summary>
        /// 获取车辆详情
        /// </summary>
        /// <param name="id">车辆id</param>
        /// <returns></returns>
        Task<SearchVehicleResponseDto> GetById(long id);
    }
}
